package com.example.demo.day.config.learn.design.factory.x2;

import com.example.demo.day.config.learn.design.factory.x1.Car;

public class MpvCar implements Car {

    private String color;

    public MpvCar(String color) {
        this.color = color;
    }

    @Override
    public void run() {
        System.out.println("Run mpv car, color: " + color);
    }
}
